<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Editar Prato</title>

</head>
<body>

	<form action="${linkTo[PratoController].save}" method="post">
		
		<input type="hidden" name="prato.idPrato" value="${prato.idPrato}"/>
		
		<input name="prato.nomePrato" value="${prato.nomePrato}" placeholder="Novo Nome do Prato"/>
		<input name="prato.vcalorico" value="${prato.vcalorico}" placeholder="Novo valor"/>
		<input name="prato.ingredientes" value="${prato.ingredientes}" placeholder="Novos ingredientes"/>
		
		<input type="submit" value="Editar Prato" />
		<input type="submit" value="Cancelar" href="${linkTo[PratoController].list}">
	</form>
       


</body>
</html>